home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
qlib205.zip
/
QLIB.ZIP
/
BIN
/
MASM2OBJ.BAT
< prev
next >
Wrap
DOS Batch File
|
1997-06-04
|
496b
|
26 lines
@echo off
if "%1"=="" goto usage
if exist %1 goto usage
if exist %1.obj del %1.obj
if exist *.tmp del *.tmp
pasm %1.asm
if not exist asm.tmp goto end
if not exist _str_.tmp goto end
ml /c /Cx /Cp /Fo%1.obj %2 %3 %4 %5 %6 %7 %8 %9 asm.tmp
if not exist %1.obj goto end
goto done
:usage
echo Usage : MASM2OBJ file [...]
echo file - file to compile to OBJ (do not give .ASM extension)
echo [...] - options to give to MASM
echo.
:done
if exist *.tmp del *.tmp
:end